<form id="loginForm" name='loginForm' action="index.php" method="post" onSubmit="return CheckInputFields()">

	<div id="adminLoginForm">
    	
	<table align="center">
	<tr>
    	<td>Username: </td>
		<td><input type="text" maxlength="20" id="txtUsername" name='username' /></td>
	</tr>
    <tr>
		<td>Password: </td>
        <td><input maxlength="20" id="txtPassword" type="password" name='password' /></td>
	</tr>
</table>

{if $error != ''}<br /><div style="font-size:10px; font-style:italic; color:#F00;">{$error}</div><br />{/if}
<input type='submit' id='doLoginAdmin' value="Login" />  :  <a href='{$forgotPassword}'>Forgot my password.</a>
    
    </div>
</form>